Json To MySQL Test with Scryfall Data
- Download 'Oracle Cards' JSON file from https://scryfall.com/docs/api/bulk-data
- Save it as
scryfall-oracle-cards.json
in this folder
- Create
scryfall-out
directory in this folder
- Run
php run.php
- Verify there are many 1MB files for the INSERT statements
- Check the first file, a middle file, and the last file for correct-appearing output, including ending with a semi-colon (
;
)
Verify it is valid SQL
- ... Uhh, see the root README file for how to import into database. If the statements execute, then it's probably awesome.